package com.millstein.eduservice.client.hystrix;

import com.millstein.commonutils.Result;
import com.millstein.eduservice.client.VodClient;
import org.springframework.stereotype.Component;

@Component
public class VodFileDegradeFeignClient implements VodClient {

    /**
     * 熔断后执行的方法
     * @param id
     * @return
     */
    @Override
    public Result removeAliyunVideo(String id) {
        return Result.error().message("删除视频失败");
    }
}
